<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>数字提交表单</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            max-width: 400px;
            margin: 20px auto;
            padding: 20px;
        }
        .form-group {
            margin-bottom: 15px;
        }
        input[type="number"] {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
        }
        button {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <h2>数字提交表单</h2>
    <form action="/cgi/test" method="POST">
        <div class="form-group">
            <label for="num1">第一个数字：</label>
            <input type="number" id="num1" name="num1" required step="any">
        </div>

        <div class="form-group">
            <label for="num2">第二个数字：</label>
            <input type="number" id="num2" name="num2" required step="any">
        </div>

        <button type="submit">提交计算</button>
    </form>
</body>
</html>